package com.example.umengdemo.utils

/**
 * @auth: njb
 * @date: 2021/10/31 15:06
 * @desc: 常量工具类
 */
class Constant {
    companion object {
        val UM_APP_KEY by lazy { "617236e8e0f9bb492b3974f4" }
        val UM_APP_CHANNEL by lazy { "android" }
        val EVENT_ID by lazy { "event_compile" }

        //设备id
        val DEVICEID by lazy { "deviceid" }

        //imsi
        val IMSI by lazy { "imsi" }

        //mac地址
        val MAC by lazy { "mac" }

        //手机类型
        val PHONE_MODEL by lazy { "phone_model" }

        //手机系统版本
        val PHONE_VERSION by lazy { "phone_version" }

        //用户id
        val USERID by lazy { "userId" }

        //手机号
        val PHONE by lazy { "phone" }

        //邮箱
        val EMAIL by lazy { "email" }

        //版本号
        val VERSION_CODE by lazy { "version_code" }

        //版本名称
        val VERSION_NAME by lazy { "version_name" }

        //当前时间
        val CURRENT_TIME by lazy { "current_time" }

        //用户登录事件
        val USER_LOGIN by lazy { "User_Login" }

        //用户退出事件
        val USER_SIGN_OUT by lazy { "User_Sign_Out" }

        //用户打开App事件
        val OPEN_APP by lazy { "Open_App" }

        //统计发送策略的时间
        val UMENG_SEND_TIME by lazy { 1000 * 40 }
    }
}